package RandomDemo;

import java.util.Random;

/**
 * @author: snail_mount
 * @date: 20/1/9 0:12
 * @description:随机生成3个数，范围0~99
 */
public class RandomTest01 {
    public static void main(String[] args) {
        Random ra = new Random();
        for (int i = 0; i < 3; i++) {
            int num = ra.nextInt(100) + 1;
            System.out.println(num);
        }
    }
}
